﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Free.Master" Inherits="System.Web.Mvc.ViewPage" %>

<%@ Import Namespace="Pp.Dto" %>
<%@ Import Namespace="Pp.UI.Models" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%=Pp.Globalization.Res.Title_Contact%></h2>
    <%using (Html.BeginForm())
      {%>
    <table border="0" style="margin: 0 auto;" width="500">
        <tr>
            <td>
                <%=Html.TextBox<ContactDto>(Pp.Globalization.Res.Label_Name,d=>d.NameSurname) %>
                <%=Html.TextBox<ContactDto>(Pp.Globalization.Res.Label_MailAdress, d => d.EMail)%>
                <%=Html.TextArea<ContactDto>( d => d.Message,Pp.Globalization.Res.Label_MessageContent)%>
                <%=Html.Submit(Pp.Globalization.Res.Label_Send, false)%>
            </td>
        </tr>
    </table>
    <%} %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
